﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="ViewPage<UsersShowModel>" %>

<asp:Content ContentPlaceHolderID="TitleContent" runat="server">
	<%= Html.Encode(Model.OriginalDisplayName) %>
</asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">

   <h1><%= Html.Encode(Model.OriginalDisplayName) %></h1>

   <% using (Html.BeginForm()) { %>

      <%= Html.HiddenFor(model => model.OriginalDisplayName) %>

      <fieldset>

            <div class="editor-label">
                <%= Html.LabelFor(model => model.DisplayName) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.DisplayName) %>
                <%= Html.ValidationMessageFor(model => model.DisplayName) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.WebsiteUrl) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.WebsiteUrl) %>
                <%= Html.ValidationMessageFor(model => model.WebsiteUrl) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.Reputation) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Reputation) %>
                <%= Html.ValidationMessageFor(model => model.Reputation) %>
            </div>

            <p><input type="submit" value="Save" /></p>

       </fieldset>

   <% } %>

</asp:Content>
